package com.xxx.springboot.mapper;

import com.xxx.springboot.pojo.entity.TransactionalMessage;

import java.time.LocalDateTime;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 事务消息表 Mapper 接口
 * </p>
 *
 * @author gwq
 * @since 2020-07-03
 */
public interface TransactionalMessageMapper extends BaseMapper<TransactionalMessage> {

	Map<Long, TransactionalMessage> queryPendingCompensationRecords(LocalDateTime min, LocalDateTime max, int limit);

}
